{extend name="public:_base" /}
{block name="js"}
{include file="public/_validform"}

{/block}
{block name="main"}

<div class="page-container">
    <form class="mb-20" method="get" action="{:\\think\\Request::instance()->baseUrl()}">
        <input type="text" class="input-text" style="width:80px" placeholder="用户ID" name="uid" value="{$Request.param.uid}">
        <input type="text" class="input-text" style="width:150px" placeholder="用户姓名" name="name" value="{$Request.param.name}">
        <input type="text" class="input-text" style="width:200px" placeholder="登录IP" name="login_ip" value="{$Request.param.login_ip}">
        <input type="text" class="input-text" style="width:150px" placeholder="登录地点" name="login_location" value="{$Request.param.login_location}">
        <button type="submit" class="btn radius btn-success" id="" name=""><i class="Hui-iconfont">&#xe665;</i> 搜索</button>
    </form>
    <div class="cl pd-5 bg-1 bk-gray">
        <span class="l">
        </span>
        <span class="r pt-5 pr-5">
            共有数据 ：<strong>{$num}</strong> 条
        </span>
    </div>
    <table class="layui-table">
        <thead>
        <tr class="text-c">
            <th width="25"><input type="checkbox" value="" name=""></th>
            <th width="">{:sort_by('用户ID','uid')}</th>
            <th width="">{:sort_by('用户帐号','name')}</th>
            <th width="">登录IP</th>
            <th width="">登录地点</th>
            <th width="">浏览器</th>
            <th width="">操作系统</th>
            <th width="">{:sort_by('登录时间','login_time')}</th>
        </tr>
        </thead>
        <tbody>
        {volist name="list" id="vo"}
        <tr class="text-c">
            <td><input type="checkbox" name="id[]" value="{$vo.id}"></td>
            <td>{$vo.uid}</td>
            <td>{$vo.name}</td>
            <td>{$vo.login_ip}</td>
            <td>{$vo.login_location}</td>
            <td>{$vo.login_browser}</td>
            <td>{$vo.login_os}</td>
            <td>{$vo.login_time}</td>
        </tr>
        {/volist}
        </tbody>
    </table>
        {$list->render()}

    </div>
{/block}